﻿Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Data.Linq
Imports System.Text
Imports MICROFORMA.BEL
Imports System.Configuration

Public Class ConexionDA
    Protected Function ObtenerDC() As EntidadesDataContext
        Dim cs As String = ConfigurationManager.ConnectionStrings("DockingTelerikScanFlow.My.MySettings.Setting").ToString '.ConnectionStrings("MacroTI.EcommerceConnectionString").ToString
        Dim dc As New EntidadesDataContext(cs)

        dc.DeferredLoadingEnabled = False

        Return dc
    End Function
End Class
